import java.io.File;
import java.util.Arrays;
 
public class demo_pro {
    public static void main(String[] args) {
        File file = new File("/Users/programb");
        File[] files = file.listFiles();
        System.out.println(Arrays.toString(files));
    }
}